package com.yunweiweishi.xuhuanpaltform.yuhuan_app.dao;


import com.yunweiweishi.xuhuanpaltform.yuhuan_app.pojo.Expert;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

@Component
public interface ExpertDao extends JpaRepository<Expert, Long> {


    Expert findExceptByExpertName(String expertName);


    Expert findExceptByPhoneNumber(String phoneNumber);

    Expert findExpertById(Long id);



}
